package ccnt.pvc.scudwaremobile.storage;

import android.provider.BaseColumns;

public final class ServiceContract {

	public ServiceContract() {
		
	}
	
	public static abstract class BaseEntry implements BaseColumns {
		public static final String COLUMN_ID = "id";
		public static final String COLUMN_GMTCREATED = "gmt_created";
		public static final String COLUMN_GMTMODIFIED = "gmt_modified";
		public static final String COLUMN_IS_DELETED = "is_deleted";
	}
	
	public static abstract class ApkEntry extends BaseEntry {
		public static final String TABLE_NAME = "apk";
		public static final String COLUMN_APK_NAME = "apk_name";
		public static final String COLUMN_PACKAGE_NAME = "package_name";
		public static final String COLUMN_VERSION = "version";
		public static final String COLUMN_DEVELOPER = "developer";
		public static final String COLUMN_IS_INSTALLED = "is_installed";
	}
	
	public static abstract class ServiceEntry extends BaseEntry {
		public static final String TABLE_NAME_ALL = "service_all";
		public static final String TABLE_NAME_REG = "service_reg";
		public static final String COLUMN_CLASS_NAME = "class_name";
		public static final String COLUMN_PACKAGE_NAME = "package_name";
		public static final String COLUMN_DEVICE_NAME = "device_name";
		public static final String COLUMN_CATEGORY = "category";
		public static final String COLUMN_SENSOR_NAME = "sensor_name";
		public static final String COLUMN_DATA_TYPE = "data_type";
		public static final String COLUMN_MEASURE = "measure";
		public static final String COLUMN_LEVEL = "level";
		public static final String COLUMN_PARAMS = "params";
		public static final String COLUMN_DESCRIPTION = "description";
	}
	
}
